package info.ask4research.service;

import info.ask4research.model.UnitOfLearning;
import info.ask4research.model.activities.Activity;
import info.ask4research.service.core.AbstractService;
import info.ask4research.web.dto.UnitOfLearningDTO;

import java.util.List;

public interface IUnitOfLearningService extends AbstractService<UnitOfLearning>{

	public List<UnitOfLearning> getUnitOfLearningList();
	public UnitOfLearning create(UnitOfLearning unitOfLearning);
	public UnitOfLearning update(UnitOfLearning unitOfLearning);
	public void delete(UnitOfLearning unitOfLearning );
	public UnitOfLearning get(int id);
	public List<UnitOfLearning> getUnitOfLearningPaginated(Integer limit, Integer page, Integer start);
	public List<UnitOfLearningDTO> getUnitOfLearningPaginated(Integer limit, Integer page, Integer start, String query);
	public List<Activity> getActivities(int id);
	public boolean existByTitle(String title);
}
